import Vue from "vue";
import App from "./App.vue";
import router from "./router/index";
import store from "./store/index";
import "amfe-flexible";
import Vant from "vant";
import "vant/lib/index.less";
import { Button } from "vant";
import "/public/iconfont/iconfont.css";
import { Tabbar, TabbarItem } from "vant";
import { Sidebar, SidebarItem } from "vant";
import { PullRefresh } from "vant";
import { Image as VanImage } from "vant";
import { Card } from "vant";
import { Checkbox, CheckboxGroup } from "vant";
import { Stepper } from "vant";
import { SwipeCell } from "vant";
import { SubmitBar } from "vant";

Vue.use(SubmitBar);
Vue.use(SwipeCell);
Vue.use(Stepper);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Card);
Vue.use(VanImage);
Vue.use(PullRefresh);
Vue.use(Sidebar);
Vue.use(SidebarItem);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Button);
Vue.use(Vant);
Vue.config.productionTip = false;
Vue.prototype.$bus = new Vue();
new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount("#app");
